<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:80:"D:\myphp\PHPTutorial\WWW\fresher\conf/../template/admin\datasta_newregister.html";i:1535361928;s:74:"D:\myphp\PHPTutorial\WWW\fresher\conf/../template/admin\common_header.html";i:1534901852;s:74:"D:\myphp\PHPTutorial\WWW\fresher\conf/../template/admin\common_footer.html";i:1534140541;}*/ ?>
<!DOCTYPE>
<html xmlns="http://www.w3.org/1999/xhtml">
<head lang="en">
    <meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<link rel="Bookmark" href="/favicon.ico" >
<link rel="Shortcut Icon" href="/favicon.ico" />
<!--[if lt IE 9]>
<script type="text/javascript" src="__HLIB__html5shiv.js"></script>
<script type="text/javascript" src="__HLIB__respond.min.js"></script>
<![endif]-->
<link rel="stylesheet" type="text/css" href="__HSTATIC__h-ui/css/H-ui.min.css" />
<link rel="stylesheet" type="text/css" href="__HSTATIC__h-ui.admin/css/H-ui.admin.css" />
<link rel="stylesheet" type="text/css" href="__HLIB__Hui-iconfont/1.0.8/iconfont.css" />
<link rel="stylesheet" type="text/css" href="__HSTATIC__h-ui.admin/skin/default/skin.css" id="skin" />
<link rel="stylesheet" type="text/css" href="__HSTATIC__h-ui.admin/css/style.css" />
<!--[if IE 6]>
<script type="text/javascript" src="__HLIB__DD_belatedPNG_0.0.8a-min.js" ></script>

<script>DD_belatedPNG.fix('*');</script>
<![endif]-->
<style>
    #edui1_bottombar{
        display: none;
    }
</style>
    <title>新注册用户统计</title>
</head>
<body>
<!--header结束-->
<div style="width: 100%;background-color: #fff;">
    <div class="qiyeguanli">
        <div style="width: 600px;margin: 50px 565px 0 565px">
            <input type="text" onfocus="WdatePicker()" value="<?php echo $begin; ?>" placeholder="开始时间" id="begin" class="input-text Wdate" style="width:250px;">
            --
            <input type="text" onfocus="WdatePicker()"  value="<?php echo $end; ?>" placeholder="结束时间" id="end"  class="input-text Wdate" style="width:250px;">
            <button type="button" class="btn btn-success" onclick="reload()"><i class="Hui-iconfont">&#xe665;</i> 搜索</button>
        </div>
        <div style=" width:1000px;margin:40px auto 0;height: 500px;" id="main">

        </div>
    </div>
</div>
<script type="text/javascript" src="__HLIB__jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="__HLIB__layer/2.4/layer.js"></script>
<script type="text/javascript" src="__HSTATIC__h-ui/js/H-ui.min.js"></script>
<script type="text/javascript" src="__HSTATIC__h-ui.admin/js/H-ui.admin.js"></script>
<script type="text/javascript" src="__HLIB__laypage/1.2/laypage.js"></script>
<script type="text/javascript" src="__HLIB__Validform/5.3.2/Validform.min.js"></script>
<script type="text/javascript" src="__HLIB__layer/2.4/layer.js"></script>
<script type="text/javascript" src="__HSTATIC__h-ui/js/H-ui.min.js"></script>
<script type="text/javascript" src="__AJS__common.js"></script>
<script type="text/javascript" src="__HLIB__ueditor/1.4.3/ueditor.config.js"></script>
<script type="text/javascript" src="__HLIB__ueditor/1.4.3/ueditor.all.min.js"> </script>
<script type="text/javascript" src="__HLIB__ueditor/1.4.3/lang/zh-cn/zh-cn.js"></script>
<script type="text/javascript" src="__HLIB__My97DatePicker/4.8/WdatePicker.js"></script>
<script type="text/javascript" src="__AJS__echarts.min.js" ></script>
<script type="text/javascript">
    function reload() {
        $begin=$('#begin').val();
        $end=$('#end').val();
        goUrl('?begin=' + $begin+'&end='+$end);
    }
    var myCharta = echarts.init(document.getElementById('main'));
    var option = {
        title : {
            text: '新增加商户统计'
        },
        tooltip : {
            trigger: 'axis'
        },
        legend: {
            data:['新增商户']
        },
        toolbox: {
            show : true,
            feature : {
                dataView : {show: true, readOnly: true},
                magicType : {show: true, type: ['line', 'bar']},
                restore : {show: true},
                saveAsImage : {show: true}
            }
        },
        calculable : true,
        xAxis : [
            {
                type : 'category',
                data :''
            }
        ],
        yAxis : [
            {
                type : 'value'
            }
        ],
        series : [
                {
                    name:'新增商户',
                    type:'bar',
                    data:'',
                    label:{
                        normal:{
                            show: true,
                            position: 'top'}
                    }

                }
        ]
    };
    option.xAxis[0]['data']= <?php echo $time; ?>;
    option.series[0]['data']= <?php echo $num; ?>;
    // 为echarts对象加载数据
    myCharta.setOption(option);
    //绑定图表resize事件
    window.addEventListener("resize", function () {
        myCharta.resize();
    });
</script>
</body>
</html>